package models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import siena.Table;
import siena.core.Aggregated;
import siena.core.Many;
import siena.embed.Embedded;


@Table("students")
public class Student extends User {

	public Student(String email, String password, String fullName) {
		super(email, password, fullName);
	}


	public Student() {
		super();
		// TODO Auto-generated constructor stub
	}


	public Date birthDate;
	
	@Embedded
	public GradeLevel gradeLevel;


	@Aggregated
	public Many<Enrollment> currentEnrollments ;
	

}
